import { defineStore } from 'pinia'

export const useRoutesStore = defineStore('routes', {
  state: () => {
    return {
      routerData: [] as any
    }
  },
  actions: {
    addRouterData(routerArr: any) {
      this.routerData = routerArr
      console.log('routerData', routerArr)
    }
  },
  getters: {}
})
